Open
Conversation
…er function events
…isWindow into GLVisCommand
tomstitt
reviewed
May 12, 2021
tomstitt
reviewed
May 12, 2021
| face_has_kerning(false) | ||
| face_has_kerning(false), | ||
| is_hidpi(false), | ||
| ppi_w(96), ppi_h(96) |
Member
There was a problem hiding this comment.
(minor) these could be default values when the members are declared:
... etc ...
bool face_has_kerning = false;
bool is_hidpi = false;
int ppi_w = 96, ppi_h = 96;
Member
|
I can now build and run the js version but there is at least on thing that isn't working yet. I saw that the Instead of this: I'll spend some more time debugging. |
This was referenced Jun 5, 2021
added 2 commits
June 5, 2021 11:42
closer to working but not quite there
…is is happening yet but reusing the existing GLVisWindow does the trick (and is what we were doing previously)
Member
|
The JS target seems to work well for me now, I slacked a copy to @tzanio and @kanye-quest so check it out if you want |
tomstitt
approved these changes
Jun 13, 2021
Member
tzanio
reviewed
Jun 16, 2021
| } | ||
|
|
||
| if (input_streams.Size() > 0) | ||
| catch (std::runtime_error& ex) |
Member
There was a problem hiding this comment.
I think this may be the first use of exceptions in MFEM or GLVis 😁
| continue; | ||
| } | ||
|
|
||
|
|
6 tasks
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




This PR is intended to split off some of the work from #149 into a somewhat-smaller PR.
GLVisWindow, which consolidates most of the global state withinaux_vis.cpp.GLVisWindowhandles creation of theSdlWindow,VisualizationScene*, andGLVisCommandobjects from aStreamStateobject and/or an array of input streams.VisualizationScene*event handlers member functions where possible, removing dependence on global pointers.GLVisCommandand other idle function runs fromSdlWindowtoGLVisWindow.